<div class="container" style="border: 5px dashed #ddd;padding: 20px;margin-top: 100px;">
    <legend>登陆</legend>
    <div class="form-group">
        <label for="user">账号</label>
        <input type="text" class="form-control" name="user" id="user" placeholder="请填写账号">
    </div>
    <div class="form-group">
        <label for="pasw">密码</label>
        <input type="password" class="form-control" name="pasw" id="pasw" placeholder="请填写密码">
    </div>
    <div class="form-group">
        <label for="VCode">验证码</label>
        <div class="input-group col-lg-2">
            <input type="text" class="form-control" maxlength="5" placeholder="5个字符" name="VCode" id="VCode">
            <span class="input-group-addon" style="padding: 0;background-color: inherit;border: 0;border-radius: 0;"><img src="index.php?c=user/verification" id="imgvcode" onclick="$('#imgvcode').attr('src','index.php?c=user/verification&'+Math.random())"/></span>
        </div>
    </div>

    <button type="button" class="btn btn-primary" onclick="login($('#user').val(),$('#pasw').val(),$('#VCode').val())">登陆</button>
    <button type="button" class="btn btn-primary" style="float: right" onclick="hrefs('index.php?c=user/register')">注册</button>
</div>
